package com.yunjian.core.basic.mapper;

import com.yunjian.core.basic.model.SRole;
import com.yunjian.core.basic.model.SRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SRoleMapper {

	/**
	 * @mbggenerated
	 */
	int countByExample(SRoleExample example);

	/**
	 * @mbggenerated
	 */
	int deleteByExample(SRoleExample example);

	/**
	 * @mbggenerated
	 */
	int deleteByPrimaryKey(String roleId);

	/**
	 * @mbggenerated
	 */
	int insert(SRole record);

	/**
	 * @mbggenerated
	 */
	int insertSelective(SRole record);

	/**
	 * @mbggenerated
	 */
	List<SRole> selectByExample(SRoleExample example);

	/**
	 * @mbggenerated
	 */
	SRole selectByPrimaryKey(String roleId);

	/**
	 * @mbggenerated
	 */
	int updateByExampleSelective(@Param("record") SRole record,
			@Param("example") SRoleExample example);

	/**
	 * @mbggenerated
	 */
	int updateByExample(@Param("record") SRole record,
			@Param("example") SRoleExample example);

	/**
	 * @mbggenerated
	 */
	int updateByPrimaryKeySelective(SRole record);

	/**
	 * @mbggenerated
	 */
	int updateByPrimaryKey(SRole record);
}